<!DOCTYPE html>
<html>

<include file="./Application/Admin/View/common/css-js.html"/>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">

    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>奖金比例列表</h5>

                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="20">
                        <thead>
                        <tr>

                            <th data-toggle="true">id</th>
                            <th>一级比例</th>
                            <th>二级比例</th>
                            <th>三级比例</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody >
                            <tr>
                                <td>{$ratio.id}</td>
                                <td>{$ratio.agent_ratio}</td>
                                <td>{$ratio.upper_agent_ratio}</td>
                                <td>{$ratio.upper_upper_agent_ratio}</td>
                                <td><a href="/index.php/admin/index/editratio?id={$ratio.id}"><i class="fa fa-check text-navy"></i> 修改</a>
                                    <a href="/index.php/admin/index/delratio?id={$ratio.id}">  删除</a>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                        <td colspan="20" style="text-align: center;font-size: 15px">
                            {$page}
                        </td>
                        </tfoot>
                    </table>

                </div>
            </div>
        </div>
    </div>
</div>
<script>
    $(document).ready(function() {

        $('.footable').footable();

    });

</script>

</body>

</html>
